<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

/**
 * @author Anh Nguyen <duyanhnguyen@vccorp.vn>
 * @copyright 2012
 * @property CI_DB_active_record $db
 */

class Contact_model extends CI_Model
{

public function addNew($data = array())
    {
        if (!is_null($data)) {
            return $this->db->insert('contact', $data);
        }
        return fasle;
    }

}

?>
